<?php

class register_Model extends CI_Model {

	function __construct() {
		parent::__construct();
		$this->load->database();
	}

	function register($data) {
		$this->db->insert('customer', $data);

		$id = $this->db->insert_id();

		return (isset($id)) ? $id : FALSE;
		}
}